home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1997 #1
/
Amiga Plus CD - 1997 - No. 01.iso
/
pd
/
programmierung
/
proasm
/
rexx
/
ttx
/
killalljobs.ttx
< prev
next >
Wrap
Text File
|
1996-04-29
|
1KB
|
28 lines
/******************************************************************************
ASX KillAllRunningJobsScript for TurboText
© 1993 by Michael "TILT!" Ryffel
[some parts ripped from d.weber]
******************************************************************************
this script momentary kills all running jobs; wether they were started by
turbotext or not. this is sure gonna be improved in a future release, as soon
as i understand all the options of asx...
******************************************************************************/
OPTIONS RESULTS /* uups... */
ADDRESS 'asx_rexx' /* address asx*/
ISTHEREPORT /* is ther any port */
port=result /* get it */
DO WHILE port~='' /* as long as there is one */
ADDRESS (''||port) /* address it */
EndOfAssembly /* and kill it */
ADDRESS 'asx_rexx' /* readdress asx */
ISTHEREPORT /* is there another one */
port = result /* get this one too */
END /* do it again sam... */